.newPrimaryClass{
    height: 100%;
    background-color: #f5f5f5;
    &_top {
        width: 100%;
        height: 40px;
        padding: 0px 20px;
        display: flex;
        align-items: center;
        background-color: #fff;
        .into_index {
            width: 100px;
            height: 28px;
            text-align: center;
            line-height: 28px;
            color: #101010;
            font-size: 14px;
            border: 1px solid #BBBBBB;
            position: relative;
            border-radius: 4px;
            cursor: pointer;
            
            i {
                top: 7px;
            }
        }
        
        i {
            position: absolute;
            right: 4px;
            top: 8px;
        }
        
        .current {
            width: 120px;
            height: 30px;
            text-align: center;
            line-height: 30px;
            background: #409EFF 10000%;
            border: 1px solid #fff;
            position: relative;
            font-size: 14px;
            color: #fff;
            margin-left: 10px;
            border-radius: 4px;
            cursor: pointer;
            
            &::before {
                content: '';
                display: inline-block;
                width: 10px;
                height: 10px;
                border-radius: 50%;
                background: #fff;
                position: absolute;
                left: 6px;
                top: 10px;
            }
        }
    }

    // 商家类型与返回
    .newPrimaryClass_type{
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
        width: 100%;
        height: 90px;
        background-color: #f5f5f5;
        .text{color: #409EFF;}
        .el-button{width: 100px;height: 40px;}
    }

    // 新增分类信息
    .classInfo{
        padding: 50px;
        // height: 400px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        background-color: #fff;
        span{display: inline-block; text-align: right;margin-right: 10px;}
        .className{
            input{
                width: 60%;
                height: 40px;
                border-radius: 4px;
                padding-left: 10px;
                outline: none;
                border: 1px solid rgba(0, 0, 0, 0.3);
            }
        }
        .mediaType{
            span{
                margin-right: 10px;
            }
            margin-top: 40px;
        }
        .classImg{
            display: flex;
            margin: 40px 0 0;
            .toFile{
                position: relative;
                width: 100px;
                height: 100px;
                border: 1px dashed rgba(0, 0, 0, 0.3);
                border-radius: 3px;
                input{
                    width: 100%;
                    height: 100%;
                    position: absolute;
                    top: 0;
                    left: 0;
                    z-index: 2;
                    opacity: 0;
                }
                div{
                    width: 100%;
                    height: 100%;
                    position: absolute;
                    top: 0;
                    left: 0;
                    z-index: 1;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                }
            }
            .cateImg{
                width: 100px;
                height: 100px;
                position: relative;
                img{width: 100%;height: 100%;}
                .cateImgShadow{
                    width: 100%;
                    height: 100%;
                    position: absolute;
                    top: 0;
                    left: 0;
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    background-color: rgba(0, 0, 0, 0.3);
                    color: #fff;
                    align-items: center;
                    opacity: 0;
                    transition: 0.2s;
                    i{cursor: pointer;}
                }
            }
            .cateImg:hover .cateImgShadow{
                opacity: 1;
            }
           
        }
        .classSort{
            input{
                width: 20%;
                height: 40px;
                border-radius: 4px;
                padding-left: 10px;
                outline: none;
                border: 1px solid rgba(0, 0, 0, 0.3);
            }
        }
        .classShow{
            display: flex;
            margin: 40px 0;
            align-items: center;
            .el-radio{margin-left: 20px;}
        }
        .editor{
            display: flex;
        }
       
        // 上传视频
        .videoBox{
            display: flex;
            margin-top: 40px;
            span{margin-right: 10px;}
        }
        .item {
            width: 300px;
            height: 178px;
            .avatar {
            width: 300px;
            height: 178px;
            display: block;
            border: 1px dashed #d9d9d9 !important;
            border-radius: 6px !important;
            position: relative !important;
            overflow: hidden !important;
            }
            // .avatar-uploader .el-upload {
            //   border: 1px dashed #d9d9d9 !important;
            //   border-radius: 6px !important;
            //   position: relative !important;
            //   overflow: hidden !important;
            // }
            video{
            width: 300px;
            height: 178px;
            }

            .uploadLabel {
            position: absolute;
            right: -15px;
            top: -6px;
            width: 40px;
            height: 24px;
            background: #13ce66;
            text-align: center;
            cursor: pointer;
            transform: rotate(45deg);
            box-shadow: 0 0 1pc 1px rgba(0,0,0,.2);

            i {
                font-size: 12px;
                margin-top: 10px;
                transform: rotate(-45deg);
                color: #fff;
            }
            }

            .avatar-uploader .el-upload:hover {
            border: 1px dashed #d9d9d9 !important;
            border-color: #409eff;
            }

            .avatar-uploader-icon {
            font-size: 28px;
            color: #8c939d;
            width: 300px;
            height: 178px;
            line-height: 178px;
            text-align: center;
            }

        }
    }
    
    .cateBtn{
        padding: 80px 0;
        width: 100%;
        text-align: center;
    }

}